using System;
namespace CMS.DAO{
	/********************************BEGIN tblProductEntityBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v1.0</para>
	/// <para>Date:11-03-2012 21:08:46</para>
	/// <para>Class Name: tblProductEntityBase</para>
	/// <para>Description: ClasstblProductEntityBase store data of table tblProduct</para>
	///</summary>

	
	public  class tblProductEntityBase{


		public bool IsNullProductId=true;
		public bool IsNullCategoryId=true;
		public bool IsNullProductName=true;
		public bool IsNullProductCode=true;
		public bool IsNullDesciption=true;
		public bool IsNullShortTitle=true;
		public bool IsNullImage=true;
		public bool IsNullInputDate=true;
		public bool IsNullPriceInput=true;
		public bool IsNullDiscountPrice=true;
		public bool IsNullSalePrice=true;
		public bool IsNullRealPrice=true;
		public bool IsNullPromotion=true;
		public bool IsNullisPromotion=true;
		public bool IsNullIsHome=true;
		public bool IsNullIsOrder=true;
		public bool IsNullProductNameOther=true;
		public bool IsNullQuantity=true;
		public bool IsNullfrkUnitId=true;
		public bool IsNullUnitName=true;
		public bool IsNullStar=true;
		public bool IsNullActive=true;
		public bool IsNullIsProductHot=true;
		public bool IsNullWanrantyMonth=true;
		public bool IsNullUserId=true;
		private int _ProductId;
		private int _CategoryId;
		private string _ProductName;
		private string _ProductCode;
		private string _Desciption;
		private string _ShortTitle;
		private string _Image;
		private DateTime _InputDate;
		private Decimal _PriceInput;
		private Decimal _DiscountPrice;
		private Decimal _SalePrice;
		private Decimal _RealPrice;
		private string _Promotion;
		private bool _isPromotion;
		private bool _IsHome;
		private int _IsOrder;
		private string _ProductNameOther;
		private int _Quantity;
		private int _frkUnitId;
		private string _UnitName;
		private bool _Star;
		private bool _Active;
		private bool _IsProductHot;
		private int _WanrantyMonth;
		private int _UserId;
		public int ProductId{
			get{return _ProductId;}
			set{
				_ProductId=value;
				IsNullProductId=false;
			}
		}
		public int CategoryId{
			get{return _CategoryId;}
			set{
				_CategoryId=value;
				IsNullCategoryId=false;
			}
		}
		public string ProductName{
			get{return _ProductName;}
			set{
				_ProductName=value;
				IsNullProductName=false;
			}
		}
		public string ProductCode{
			get{return _ProductCode;}
			set{
				_ProductCode=value;
				IsNullProductCode=false;
			}
		}
		public string Desciption{
			get{return _Desciption;}
			set{
				_Desciption=value;
				IsNullDesciption=false;
			}
		}
		public string ShortTitle{
			get{return _ShortTitle;}
			set{
				_ShortTitle=value;
				IsNullShortTitle=false;
			}
		}
		public string Image{
			get{return _Image;}
			set{
				_Image=value;
				IsNullImage=false;
			}
		}
		public DateTime InputDate{
			get{return _InputDate;}
			set{
				_InputDate=value;
				IsNullInputDate=false;
			}
		}
		public Decimal PriceInput{
			get{return _PriceInput;}
			set{
				_PriceInput=value;
				IsNullPriceInput=false;
			}
		}
		public Decimal DiscountPrice{
			get{return _DiscountPrice;}
			set{
				_DiscountPrice=value;
				IsNullDiscountPrice=false;
			}
		}
		public Decimal SalePrice{
			get{return _SalePrice;}
			set{
				_SalePrice=value;
				IsNullSalePrice=false;
			}
		}
		public Decimal RealPrice{
			get{return _RealPrice;}
			set{
				_RealPrice=value;
				IsNullRealPrice=false;
			}
		}
		public string Promotion{
			get{return _Promotion;}
			set{
				_Promotion=value;
				IsNullPromotion=false;
			}
		}
		public bool isPromotion{
			get{return _isPromotion;}
			set{
				_isPromotion=value;
				IsNullisPromotion=false;
			}
		}
		public bool IsHome{
			get{return _IsHome;}
			set{
				_IsHome=value;
				IsNullIsHome=false;
			}
		}
		public int IsOrder{
			get{return _IsOrder;}
			set{
				_IsOrder=value;
				IsNullIsOrder=false;
			}
		}
		public string ProductNameOther{
			get{return _ProductNameOther;}
			set{
				_ProductNameOther=value;
				IsNullProductNameOther=false;
			}
		}
		public int Quantity{
			get{return _Quantity;}
			set{
				_Quantity=value;
				IsNullQuantity=false;
			}
		}
		public int frkUnitId{
			get{return _frkUnitId;}
			set{
				_frkUnitId=value;
				IsNullfrkUnitId=false;
			}
		}
		public string UnitName{
			get{return _UnitName;}
			set{
				_UnitName=value;
				IsNullUnitName=false;
			}
		}
		public bool Star{
			get{return _Star;}
			set{
				_Star=value;
				IsNullStar=false;
			}
		}
		public bool Active{
			get{return _Active;}
			set{
				_Active=value;
				IsNullActive=false;
			}
		}
		public bool IsProductHot{
			get{return _IsProductHot;}
			set{
				_IsProductHot=value;
				IsNullIsProductHot=false;
			}
		}
		public int WanrantyMonth{
			get{return _WanrantyMonth;}
			set{
				_WanrantyMonth=value;
				IsNullWanrantyMonth=false;
			}
		}
		public int UserId{
			get{return _UserId;}
			set{
				_UserId=value;
				IsNullUserId=false;
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END tblProductEntityBase*****************************************/
	/*****************************************************************************************************/
}

